package com.zhuoyue.biz.core.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuoyue.biz.core.api.domain.FingerprintDO;
import com.zhuoyue.common.dto.BaseResultDTO;
import com.zhuoyue.common.dto.BatchResultDTO;
import com.zhuoyue.common.dto.ResultDTO;

import java.util.List;
/**
 * @ClassName: FingerprintService
 * @Description:
 * @author wjming
 * @Date 2021-07-14 20:26
 */
public interface FingerprintService extends IService<FingerprintDO> {

    /**
     * 查询指纹锁录入信息
     *
     * @param deviceId
     * @return
     */
    public List<FingerprintDO> getFingerprintListByDeviceId(String deviceId);

    /**
     * 新增指纹信息
     *
     * @param fingerprint
     * @return
     */
    public FingerprintDO addFingerprint(FingerprintDO fingerprint);

    /**
     * 修改指纹录入信息
     *
     * @param fingerprint
     * @return
     */
    public FingerprintDO updateFingerprintById(FingerprintDO fingerprint);

    /**
     * 删除指纹录入信息
     *
     * @param id
     * @return
     */
    public BaseResultDTO deleteFingerprinById(String id);

}
